package com.slz3.business.module.orderManagement.ordOrderLine;

import com.slz3.business.module.orderManagement.ordOrderLine.steward.OrdOrderLineResponse;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import org.springframework.web.reactive.function.server.ServerRequest;
import org.springframework.web.reactive.function.server.ServerResponse;
import reactor.core.publisher.Mono;

@Component
@Order(0)
public class OrdOrderLineHandler {

    public Mono<ServerResponse> add(ServerRequest req) {
        return OrdOrderLineResponse.add(req);
    }

    public Mono<ServerResponse> delete(ServerRequest req) {
        return OrdOrderLineResponse.delete(req);
    }

    public Mono<ServerResponse> modify(ServerRequest req) {
        return OrdOrderLineResponse.modify(req);
    }

    public Mono<ServerResponse> findBySerOrderId(ServerRequest req) {
        return OrdOrderLineResponse.findBySerOrderId(req);
    }

    public Mono<ServerResponse> list(ServerRequest req) {
        return OrdOrderLineResponse.list(req);
    }

    public Mono<ServerResponse> info(ServerRequest req) {
        return OrdOrderLineResponse.info(req);
    }

    public Mono<ServerResponse> choice(ServerRequest req) {
        return OrdOrderLineResponse.choice(req);
    }

    public Mono<ServerResponse> auditSubmit(ServerRequest req) {
        return OrdOrderLineResponse.auditSubmit(req);
    }

    public Mono<ServerResponse> audit(ServerRequest req) {
        return OrdOrderLineResponse.audit(req);
    }

    public Mono<ServerResponse> auditReject(ServerRequest req) {
        return OrdOrderLineResponse.auditReject(req);
    }

    public Mono<ServerResponse> usingEnable(ServerRequest req) {
        return OrdOrderLineResponse.usingEnable(req);
    }

    public Mono<ServerResponse> usingDisable(ServerRequest req) {
        return OrdOrderLineResponse.usingDisable(req);
    }

}
